package com.zlc.common.core.process.service;

import com.zlc.common.common.service.BaseService;
import com.zlc.common.core.process.model.entity.StoneEventConfig;
import com.zlc.common.core.process.model.vo.StoneEventConfigVo;
import com.zlc.common.core.process.mapper.StoneEventConfigMapper;

import java.util.List;

/**
 * @author  zl
 * @date 2023-10-17 
 */
public interface StoneEventConfigService extends BaseService<StoneEventConfigMapper, StoneEventConfig, StoneEventConfigVo> {

    int getCountByInterId(String interId);


    void removeByProcessId(String processId);


    List<StoneEventConfigVo> getProcessEvents(String processId);


    List<StoneEventConfigVo> getByProcessId(String processId);


    List<StoneEventConfigVo> getNodeEvents(String processId,String nodeId);
}
